package com.fanfan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fanfan.pojo.Trade;
import com.fanfan.pojo.domain.ResponseResult;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * (Trade)表服务接口
 *
 * @author fansea
 * @since 2023-03-11 18:02:51
 */
public interface TradeService extends IService<Trade> {

    ResponseResult tradeList(Integer pageNum, Integer pageSize);

    ResponseResult getTradeDetail(Long tradeId);

    ResponseResult addTrade(Trade trade);

    ResponseResult tradeList(Integer pageNum, Integer pageSize, Trade trade);
}

